package it.polimi.entitiesDTO;

import java.util.Date;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

public class PacketDTO {

		@NotNull
		private int id;
		
		@NotEmpty
		private String city;

		@NotEmpty
		private String description;
		
		@NotEmpty
		private String employee;

		@NotNull
		private Date end;
		
		@NotNull
		private Date start;

		@NotNull
		private int price;

		@NotNull
		private int spots;
		
		@NotNull
		private Boolean visibility;
		
		@NotNull
		private int hotel;
		
		/**   SETTERS AND GETTERS 
		 * 
		 **/
		 
		
		public int getId() {
			return id;
		}

		public String getCity() {
			return city;
		}

		public void setCity(String city) {
			this.city = city;
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}

		public String getEmployee() {
			return employee;
		}

		public void setEmployee(String employee) {
			this.employee = employee;
		}

		public Date getEnd() {
			return end;
		}

		public void setEnd(Date end) {
			this.end = end;
		}

		public Date getStart() {
			return start;
		}

		public void setStart(Date start) {
			this.start = start;
		}

		public int getPrice() {
			return price;
		}

		public void setPrice(int price) {
			this.price = price;
		}

		public int getSpots() {
			return spots;
		}

		public void setSpots(int spots) {
			this.spots = spots;
		}

		public Boolean getVisibility() {
			return visibility;
		}

		public void setVisibility(Boolean visibility) {
			this.visibility = visibility;
		}

		public int getHotel() {
			return hotel;
		}

		public void setHotel(int hotel) {
			this.hotel = hotel;
		}
		
}
